#ifndef _SDLTEXTURE_H_
#define _SDLTEXTURE_H_
#include <Renderer/Texture.h>
#include <SDL.h>
#include <string>

namespace Engine2D
{
    class SDLTexture : public Texture
    {
    public:
        SDLTexture();
        SDLTexture(Uint32 format, int access, int w, int h);
        SDLTexture(SDL_Texture * tex);
        bool Load(const std::string & fileName);
        virtual ~SDLTexture();

        SDL_Texture * GetSDLTexture() { return m_texture; }
    
    private:
        SDL_Texture * m_texture;
    };
} // namespace Engine2D


#endif